package com.kai.entity;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class ExpressOrderQuery implements Serializable {

    @Schema(description = "查询页码")
    private int page;

    @Schema(description = "每页数量")
    private int pageSize;

    @Schema(description = "快递状态")
    private Integer status;

    @Schema(description = "取件地址")
    private String expressPickupAddress;

    @Schema(description = "取件类型")
    private String itemType;

    @Schema(description = "预期送达时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expectedDeliveryTime;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "快递员ID")
    private Long courierId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;


}
